package entity;

import java.util.List;

/**
 * Created by dllo on 15/11/24.
 */
public class HotSearchEntity {

    /**
     * albumResultNum : 2
     * albumResultList : [{"id":203355,"keyword":"段子来了","highlightKeyword":"<em>段<\/em>子来了","category":"综艺娱乐","imgPath":"http://fdfs.xmcdn.com/group5/M03/A6/D8/wKgDtlR1MD_T1DQHAANqZDyk48s720_mobile_small.jpg"},{"id":242881,"keyword":"段子里的经济学","highlightKeyword":"<em>段<\/em>子里的经济学","category":"商业财经","imgPath":"http://fdfs.xmcdn.com/group4/M02/44/69/wKgDtFNRTfyw4epVAAGFLYZHt4I414_mobile_small.jpg"}]
     * queryResultNum : 6
     * queryResultList : [{"id":6,"keyword":"段子来了","highlightKeyword":"<em>段<\/em>子来了"},{"id":589,"keyword":"段子来了采采","highlightKeyword":"<em>段<\/em>子来了采采"},{"id":700,"keyword":"段子","highlightKeyword":"<em>段<\/em>子"},{"id":477,"keyword":"段子来了羞羞版","highlightKeyword":"<em>段<\/em>子来了羞羞版"},{"id":2269415,"keyword":"段学俭","highlightKeyword":"<em>段<\/em>学俭"},{"id":2479439,"keyword":"段晚湖","highlightKeyword":"<em>段<\/em>晚湖"}]
     */

    private int albumResultNum;
    private int queryResultNum;
    private List<AlbumResultListEntity> albumResultList;
    private List<QueryResultListEntity> queryResultList;

    public void setAlbumResultNum(int albumResultNum) {
        this.albumResultNum = albumResultNum;
    }

    public void setQueryResultNum(int queryResultNum) {
        this.queryResultNum = queryResultNum;
    }

    public void setAlbumResultList(List<AlbumResultListEntity> albumResultList) {
        this.albumResultList = albumResultList;
    }

    public void setQueryResultList(List<QueryResultListEntity> queryResultList) {
        this.queryResultList = queryResultList;
    }

    public int getAlbumResultNum() {
        return albumResultNum;
    }

    public int getQueryResultNum() {
        return queryResultNum;
    }

    public List<AlbumResultListEntity> getAlbumResultList() {
        return albumResultList;
    }

    public List<QueryResultListEntity> getQueryResultList() {
        return queryResultList;
    }

    public static class AlbumResultListEntity {
        /**
         * id : 203355
         * keyword : 段子来了
         * highlightKeyword : <em>段</em>子来了
         * category : 综艺娱乐
         * imgPath : http://fdfs.xmcdn.com/group5/M03/A6/D8/wKgDtlR1MD_T1DQHAANqZDyk48s720_mobile_small.jpg
         */

        private int id;
        private String keyword;
        private String highlightKeyword;
        private String category;
        private String imgPath;

        public void setId(int id) {
            this.id = id;
        }

        public void setKeyword(String keyword) {
            this.keyword = keyword;
        }

        public void setHighlightKeyword(String highlightKeyword) {
            this.highlightKeyword = highlightKeyword;
        }

        public void setCategory(String category) {
            this.category = category;
        }

        public void setImgPath(String imgPath) {
            this.imgPath = imgPath;
        }

        public int getId() {
            return id;
        }

        public String getKeyword() {
            return keyword;
        }

        public String getHighlightKeyword() {
            return highlightKeyword;
        }

        public String getCategory() {
            return category;
        }

        public String getImgPath() {
            return imgPath;
        }
    }

    public static class QueryResultListEntity {
        /**
         * id : 6
         * keyword : 段子来了
         * highlightKeyword : <em>段</em>子来了
         */

        private int id;
        private String keyword;
        private String highlightKeyword;

        public void setId(int id) {
            this.id = id;
        }

        public void setKeyword(String keyword) {
            this.keyword = keyword;
        }

        public void setHighlightKeyword(String highlightKeyword) {
            this.highlightKeyword = highlightKeyword;
        }

        public int getId() {
            return id;
        }

        public String getKeyword() {
            return keyword;
        }

        public String getHighlightKeyword() {
            return highlightKeyword;
        }
    }
}
